package com.company.project.service;

import com.company.project.model.ReportEquipment;
import com.company.project.core.Service;
import com.company.project.model.dto.getAllReportEquipmentDto;
import com.company.project.model.dto.getkhdwDto;

import java.util.List;


/**
 * Created by DLHTX on 2020/06/17.
 */
public interface ReportEquipmentService extends Service<ReportEquipment> {
    List<ReportEquipment> getAllReportEquipment(getAllReportEquipmentDto param);

    List<getkhdwDto> getKhdwPie();

    List<getkhdwDto> getsalesmanPie();

    List<getkhdwDto> getbackdriverPie();

    List<getkhdwDto> getsbxhPie();

    int updateReportEquipment(String BaseSql);

    List<ReportEquipment> getWork_id();

    int addReportEquipment(ReportEquipment reportEquipment);

    List<ReportEquipment> searchCommonFunction(String param);

    List<ReportEquipment> getAllReportEquipmentNoWhere();

    int deleteEquipmentByid(ReportEquipment reportEquipment);

    int updateDispatch(ReportEquipment reportEquipment);

    int updateBudget(ReportEquipment reportEquipment);

    int updateAccount(ReportEquipment reportEquipment);

}

